package com.shanwen.shopping.entity;

import java.io.Serializable;

/**
 * 资讯分类
 */
public class ModuleInfo implements Serializable{

    private static final long serialVersionUID = -6439165189297263151L;
    /**
     * enterpriseId : 10000164
     * moduleBackgroundColor : #3BA5DE
     * moduleId : 203
     * moduleName : 所内动态
     * moduleType : 1
     * moduleTypeValue :
     * publishTime : 1459494344000
     * writeSource : 2
     */

    private long enterpriseId;
    /** 模块背景颜色 */
    private String moduleBackgroundColor;
    /** 模块全局id */
    private long moduleId;
    /** 模块名称 */
    private String moduleName;
    /** 模块类型，1=内容型(普通) 2=外链型 3=客户端型（功能） */
    private String moduleType;
    /** 模块类型具体值，类型为2和3才有值 */
    private String moduleTypeValue;
    /** 模块发布时间，时间戳格式 */
    private long publishTime;
    /** 模块来源，1|2：企业来源|运营来源 */
    private String writeSource;

    public long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getModuleBackgroundColor() {
        return moduleBackgroundColor;
    }

    public void setModuleBackgroundColor(String moduleBackgroundColor) {
        this.moduleBackgroundColor = moduleBackgroundColor;
    }

    public long getModuleId() {
        return moduleId;
    }

    public void setModuleId(long moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }

    public String getModuleTypeValue() {
        return moduleTypeValue;
    }

    public void setModuleTypeValue(String moduleTypeValue) {
        this.moduleTypeValue = moduleTypeValue;
    }

    public long getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(long publishTime) {
        this.publishTime = publishTime;
    }

    public String getWriteSource() {
        return writeSource;
    }

    public void setWriteSource(String writeSource) {
        this.writeSource = writeSource;
    }

    @Override
    public String toString() {
        return "ModuleInfo{" +
                "enterpriseId=" + enterpriseId +
                ", moduleBackgroundColor='" + moduleBackgroundColor + '\'' +
                ", moduleId=" + moduleId +
                ", moduleName='" + moduleName + '\'' +
                ", moduleType='" + moduleType + '\'' +
                ", moduleTypeValue='" + moduleTypeValue + '\'' +
                ", publishTime=" + publishTime +
                ", writeSource='" + writeSource + '\'' +
                '}';
    }
}
